package com.yugao.fintech.antelope.infra;

import com.yugao.fintech.antelope.base.annotation.EnableMyFeignClients;
import com.yugao.fintech.antelope.base.model.constants.ModuleCons;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 基础设施
 */
@EnableMyFeignClients
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = ModuleCons.SCAN_BASE_PACKAGE, exclude = DataSourceAutoConfiguration.class)
public class CloudInfraApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudInfraApplication.class, args);
    }
}
